package com.joinlabs.mapper;



import java.util.List;

import com.joinlabs.entity.Order;

public interface OrderMapper {
    int deleteByPrimaryKey(String orderId);

    int insert(Order record);

    int insertSelective(Order record);
    
    Order selectByPrimaryKey(String orderId);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);
  
    //根据用户id查询所有订单
    List<Order> selectByUser(String userId);
    void updateOrderStatebyOrderId(String orderId);
    
    int selectOrdercount();
}